package com.ea.admin.service;

import com.ea.admin.pojo.vo.account.ContactAdminVo;
import com.ea.admin.pojo.vo.company.CompanyVo;

import java.util.List;

public interface CompanyPermissionService {

    List<CompanyVo> getCompanyPermission(Long accountId);

    List<Long> getCompanyIdList(Long accountId);

    void addCompanyPermission(Long accountId, Long companyIdList);

    void addCompanyPermission(Long accountId, List<Long> companyIdList);

    void addCompanyPermission(List<Long> accountIdList, Long companyId);

    void deleteCompanyPermissionByAccountId(Long accountId);

    List<Long> getAdminId(Long companyId);

    void checkCompanyPermission(Long accountId, Long companyId);

    void checkAccountCompany(Long accountId, Long companyId);

    List<ContactAdminVo> getAllAdminInfoByCompanyIdAndName(Long companyId, String contactName);

    void checkIsCompanyContact(Long accountId);

    void checkContactCompany(Long accountId, List<Long> companyPermissionList);

    boolean checkCompanyExists(Long companyId);

    List<Long> getSubCompanyIdList(Long accountId, List<Long> companyIdList);
}
